﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mysoft.MyCM.Scm
{
	public partial class Server
	{
		public Server()
		{
			DBInstances = new HashSet<DBInstance>();
			Tasks = new HashSet<Task>();
			TaskHistories = new HashSet<TaskHistory>();
		}

		public Guid ServerGUID { get; set; }

		public string ServerName { get; set; }

		public int FreeSpace { get; set; }

		public string IpAddress { get; set; }

		public Guid AreaGUID { get; set; }

		public int ServerType { get; set; }

		public string TFSUrl { get; set; }

		public int? WebStartPort { get; set; }

		public int? WebEndPort { get; set; }

		public virtual Area Area { get; set; }

		public virtual ICollection<DBInstance> DBInstances { get; set; }

		public virtual ICollection<Task> Tasks { get; set; }

		public virtual ICollection<TaskHistory> TaskHistories { get; set; }
	}
}
